package com.dwm716.shorturl.service;

import com.dwm716.shorturl.domain.User;
import com.dwm716.shorturl.pagehelper.PageResult;

import java.util.List;

/**
 * Created by wilson on 2025/1/30.
 */
public interface UserService {

    void insert(User user);

    void update(User user);

    PageResult<User> list(List<String> statusList, Integer pageNo, Integer pageSize);

    User login(User user);

    User getById(Integer userId);

    List<User> getByName(String name);

}
